﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace seiacpscs_a2.datastructures
{
    public abstract class DataStructure
    {

        protected int numberOfAccesses;

        public abstract void add(int item);
        public abstract bool contains(int item);

        public abstract String DataStructureName
        {
            get;
        }

        public int NumberOfAccesses
        {
            get { return numberOfAccesses; }
            set { numberOfAccesses = value; }
        }

    }
}
